#pragma once

#include "SimpleObjLib.h"
#include <string>
//interface class
class ISimpleObj 								
{
public:
	virtual const char* ReturnSimpleObj()= 0;		//needs to be virtual
	virtual void		Delete() = 0;
};

//Creates a new class which inherits properties from IFrame
class SIMPLEOBJLIB_API SimpleObj : public ISimpleObj	
{
public:
	SimpleObj(void);							//optional for virtual functions - constructor
	~SimpleObj(void);							//optional - destructor
	virtual const char* ReturnSimpleObj() { return "This is a simple object being called";} //needs to be virtual
	virtual void		Delete() {delete this;}
};


extern "C" SIMPLEOBJLIB_API SimpleObj *Create();